#include<stdio.h>
int main()
{
	char c1, c2;
	scanf("%c %c", &c1, &c2);
	printf("%c %c\n", c1-32, c2-32);
	return 0;
}
